/* ===== CSS VARIABLES ===== */
:root {
    --primary: #1a3670;
    --primary-light: #2450a4;
    --accent: #f59e0b;
    --text-dark: #0f172a;
    --text-mid: #475569;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --bg-soft: #f8fafc;
    --bg-panel: #f1f5f9;
    --white: #ffffff;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.10);
    --transition: 0.25s ease;
    --section-gap: 96px;
}

/* ===== RESET / BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}


/* ===== SECTIONS ===== */
.cs-section--soft {
    background: var(--bg-soft);
}

/* ===== SECTION HEADER ===== */
.cs-header {
    text-align: center;
    margin-bottom: 56px;
}

.cs-header__eyebrow {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-light);
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 14px;

}

.cs-header h2 {

    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 14px;
}

.cs-header p {
    color: var(--text-mid);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;

}

/* ===== HERO ===== */
.cs-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1a3670 60%, #1e4db7 100%);
    border-radius: var(--radius-lg);
    padding: 72px 64px;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.cs-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 90% 50%, rgba(99, 136, 254, 0.15), transparent),
        radial-gradient(ellipse 300px 300px at 10% 80%, rgba(245, 158, 11, 0.08), transparent);
    pointer-events: none;
}

.cs-hero__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.cs-hero__eyebrow {

    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.cs-hero h1 {

    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.cs-hero p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;

    max-width: 540px;
    margin-bottom: 32px;
}

.cs-hero__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.cs-pill {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.85);
}

.cs-hero__cta {
    display: inline-block;
    background: var(--accent);
    color: #0f172a;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.cs-hero__cta:hover {
    background: #fbbf24;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.45);
    color: #0f172a;
    text-decoration: none;
}

.cs-hero__stat-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cs-stat {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 20px 28px;
    text-align: center;
    min-width: 140px;
    backdrop-filter: blur(8px);
}

.cs-stat__value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}

.cs-stat__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

/* ===== CARDS ===== */
.cs-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cs-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
}

.cs-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.cs-card:hover::before {
    opacity: 1;
}

.cs-card__icon {
    width: 48px;
    height: 48px;
    background: #e8effe;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.cs-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.cs-card>p {
    color: var(--text-mid);
    margin-bottom: 20px;
}

/* ===== CHECKLIST ===== */
.cs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cs-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-mid);

    border-bottom: 1px solid var(--bg-soft);
}

.cs-list li:last-child {
    border-bottom: none;
}

.cs-list li::before {
    content: '';
    width: 18px;
    height: 18px;
    min-width: 18px;
    background: #e8effe url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%231a3670' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
    border-radius: 50%;
    margin-top: 1px;
}

/* ===== GOVERNANCE SPLIT ===== */
.cs-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.cs-split__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 14px;
}

.cs-split h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
}

.cs-split p {
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 28px;
}

.cs-governance-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cs-gov-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    transition: var(--transition);
}

.cs-gov-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.cs-gov-item__icon {
    margin-bottom: 8px;
}

.cs-gov-item h6 {

    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.cs-gov-item p {
    color: var(--text-light);
    margin: 0;
}


.cs-monitor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cs-monitor-item {
    text-align: center;
    padding: 28px 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.cs-monitor-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.cs-monitor-item__icon {
    font-size: 28px;
    margin-bottom: 12px;
    display: block;
}

.cs-monitor-item h6 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.cs-monitor-item p {
    color: var(--text-mid);
    margin: 0;
    line-height: 1.5;
}

/* ===== DEVOPS TAGS ===== */
.cs-devops-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cs-devops-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.cs-devops-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.cs-devops-item__icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: #e8effe;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.cs-devops-item h6 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.cs-devops-item p {
    color: var(--text-mid);
    margin: 0;
}

/* ===== TIMELINE ===== */
.cs-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding-top: 40px;
}

.cs-timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.cs-tl-item {
    text-align: center;
    padding: 0 16px;
    position: relative;
}

.cs-tl-item__dot {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.cs-tl-item:hover .cs-tl-item__dot {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.15);
}

.cs-tl-item__num {
    display: block;

    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cs-tl-item h6 {

    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.cs-tl-item p {
    color: var(--text-mid);
    margin: 0;
    line-height: 1.5;
}

/* ===== MIGRATION CARDS ===== */
.cs-migration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cs-migration-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cs-migration-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.cs-migration-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.cs-migration-card:hover::after {
    transform: scaleX(1);
}

.cs-migration-card__icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: block;
}

.cs-migration-card h6 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.cs-migration-card p {
    color: var(--text-mid);
    margin: 0;
    line-height: 1.5;
}

/* ===== CTA STRIP ===== */
.cs-cta-strip {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 56px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cs-cta-strip h3 {
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.cs-cta-strip p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 1rem;
}

.cs-cta-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 36px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cs-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    color: var(--primary);
    text-decoration: none;
}



/* ===== FONT SIZE RESET (OLD STYLE LOOK) ===== */

/* Headings */
.cs-header h2,
.cs-split h2 {
    font-size: 28px !important;
    font-weight: 600;
}

.cs-hero h1 {
    font-size: 32px !important;
    font-weight: 600;
}


/* Card headings */
.cs-card h5,
.cs-monitor-item h6,
.cs-devops-item h6,
.cs-migration-card h6 {
    font-size: 16px !important;
    font-weight: 600;
}

/* Small labels */
.cs-tl-item h6 {}


/* Buttons */
.cs-hero__cta,
.cs-cta-btn {
    font-size: 14px !important;
}

/* Stats */
.cs-stat__value {
    font-size: 24px !important;
}

.cs-stat__label {
    font-size: 11px !important;
}

/* ===== NEW HERO ===== */
.cs-hero-new {
    background: #ffffff;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
}

/* GRID */
.cs-hero-new__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 60px;
}

/* TEXT */
.cs-hero-new__content h1 {
    font-size: 34px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
}

.cs-hero-new__content p {
    color: #475569;

    line-height: 1.7;
    margin-bottom: 25px;
}

.cs-hero-new__eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* PILLS */
.cs-hero-new__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.cs-hero-new__pills span {
    background: #eef2ff;
    color: #1e40af;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* BUTTON */
.cs-hero-new__btn {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.cs-hero-new__btn:hover {
    background: #1d4ed8;
    color: #fff;
    transform: translateY(-2px);
}

/* IMAGE */
.cs-hero-new__image img {
    width: 100%;
    border-radius: 16px;
}

/* STATS */
.cs-hero-new__stats {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.cs-stat-box {
    background: #f8fafc;
    padding: 20px 30px;
    border-radius: 12px;
    text-align: center;
    flex: 1;
}

.cs-stat-box h4 {
    font-size: 22px;
    color: #0f172a;
    margin-bottom: 5px;
}

.cs-stat-box p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* RESPONSIVE */
@media(max-width: 992px) {
    .cs-hero-new__grid {
        grid-template-columns: 1fr;
    }

    .cs-hero-new {
        padding: 40px 25px;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .cs-hero__grid {
        grid-template-columns: 1fr;
    }

    .cs-hero__stat-block {
        flex-direction: row;
        justify-content: flex-start;
    }

    .cs-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cs-monitor-grid {
        grid-template-columns: auto;
    }

    .cs-devops-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cs-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        padding-top: 0;
    }

    .cs-timeline::before {
        display: none;
    }

    .cs-migration-grid {
        grid-template-columns: auto;
    }

    .cs-cta-strip {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .cs-hero {
        padding: 40px 28px;
    }

    .cs-hero__stat-block {
        flex-direction: column;
    }

    .cs-devops-grid {
        grid-template-columns: 1fr;
    }

    .cs-governance-items {
        grid-template-columns: 1fr;
    }

    .cs-timeline {
        grid-template-columns: 1fr;
    }

    .cs-cta-strip {
        padding: 36px 24px;
    }
}